﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020009C3 RID: 2499
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class JPMPLLFBBFP : IMessage<JPMPLLFBBFP>, IMessage, IEquatable<JPMPLLFBBFP>, IDeepCloneable<JPMPLLFBBFP>, IBufferMessage
	{
		// Token: 0x17001FA0 RID: 8096
		// (get) Token: 0x0600700D RID: 28685 RVA: 0x0012C1E5 File Offset: 0x0012A3E5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<JPMPLLFBBFP> Parser
		{
			get
			{
				return JPMPLLFBBFP._parser;
			}
		}

		// Token: 0x17001FA1 RID: 8097
		// (get) Token: 0x0600700E RID: 28686 RVA: 0x0012C1EC File Offset: 0x0012A3EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return JPMPLLFBBFPReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001FA2 RID: 8098
		// (get) Token: 0x0600700F RID: 28687 RVA: 0x0012C1FE File Offset: 0x0012A3FE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return JPMPLLFBBFP.Descriptor;
			}
		}

		// Token: 0x06007010 RID: 28688 RVA: 0x0012C205 File Offset: 0x0012A405
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JPMPLLFBBFP()
		{
		}

		// Token: 0x06007011 RID: 28689 RVA: 0x0012C218 File Offset: 0x0012A418
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JPMPLLFBBFP(JPMPLLFBBFP other) : this()
		{
			this.oAPHCHIDMNE_ = other.oAPHCHIDMNE_.Clone();
			this.goodsId_ = other.goodsId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007012 RID: 28690 RVA: 0x0012C24E File Offset: 0x0012A44E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JPMPLLFBBFP Clone()
		{
			return new JPMPLLFBBFP(this);
		}

		// Token: 0x17001FA3 RID: 8099
		// (get) Token: 0x06007013 RID: 28691 RVA: 0x0012C256 File Offset: 0x0012A456
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<OMILEHFEJBM> OAPHCHIDMNE
		{
			get
			{
				return this.oAPHCHIDMNE_;
			}
		}

		// Token: 0x17001FA4 RID: 8100
		// (get) Token: 0x06007014 RID: 28692 RVA: 0x0012C25E File Offset: 0x0012A45E
		// (set) Token: 0x06007015 RID: 28693 RVA: 0x0012C266 File Offset: 0x0012A466
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GoodsId
		{
			get
			{
				return this.goodsId_;
			}
			set
			{
				this.goodsId_ = value;
			}
		}

		// Token: 0x06007016 RID: 28694 RVA: 0x0012C26F File Offset: 0x0012A46F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as JPMPLLFBBFP);
		}

		// Token: 0x06007017 RID: 28695 RVA: 0x0012C280 File Offset: 0x0012A480
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(JPMPLLFBBFP other)
		{
			return other != null && (other == this || (this.oAPHCHIDMNE_.Equals(other.oAPHCHIDMNE_) && this.GoodsId == other.GoodsId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007018 RID: 28696 RVA: 0x0012C2D0 File Offset: 0x0012A4D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.oAPHCHIDMNE_.GetHashCode();
			if (this.GoodsId != 0U)
			{
				num ^= this.GoodsId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007019 RID: 28697 RVA: 0x0012C31D File Offset: 0x0012A51D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600701A RID: 28698 RVA: 0x0012C325 File Offset: 0x0012A525
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600701B RID: 28699 RVA: 0x0012C330 File Offset: 0x0012A530
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.GoodsId != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.GoodsId);
			}
			this.oAPHCHIDMNE_.WriteTo(ref output, JPMPLLFBBFP._repeated_oAPHCHIDMNE_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600701C RID: 28700 RVA: 0x0012C380 File Offset: 0x0012A580
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.oAPHCHIDMNE_.CalculateSize(JPMPLLFBBFP._repeated_oAPHCHIDMNE_codec);
			if (this.GoodsId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GoodsId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600701D RID: 28701 RVA: 0x0012C3D4 File Offset: 0x0012A5D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(JPMPLLFBBFP other)
		{
			if (other == null)
			{
				return;
			}
			this.oAPHCHIDMNE_.Add(other.oAPHCHIDMNE_);
			if (other.GoodsId != 0U)
			{
				this.GoodsId = other.GoodsId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600701E RID: 28702 RVA: 0x0012C421 File Offset: 0x0012A621
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600701F RID: 28703 RVA: 0x0012C42C File Offset: 0x0012A62C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					if (num != 58U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.oAPHCHIDMNE_.AddEntriesFrom(ref input, JPMPLLFBBFP._repeated_oAPHCHIDMNE_codec);
					}
				}
				else
				{
					this.GoodsId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002AC4 RID: 10948
		private static readonly MessageParser<JPMPLLFBBFP> _parser = new MessageParser<JPMPLLFBBFP>(() => new JPMPLLFBBFP());

		// Token: 0x04002AC5 RID: 10949
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002AC6 RID: 10950
		public const int OAPHCHIDMNEFieldNumber = 7;

		// Token: 0x04002AC7 RID: 10951
		private static readonly FieldCodec<OMILEHFEJBM> _repeated_oAPHCHIDMNE_codec = FieldCodec.ForMessage<OMILEHFEJBM>(58U, OMILEHFEJBM.Parser);

		// Token: 0x04002AC8 RID: 10952
		private readonly RepeatedField<OMILEHFEJBM> oAPHCHIDMNE_ = new RepeatedField<OMILEHFEJBM>();

		// Token: 0x04002AC9 RID: 10953
		public const int GoodsIdFieldNumber = 3;

		// Token: 0x04002ACA RID: 10954
		private uint goodsId_;
	}
}
